package com.ms.p2p.provider;

import com.ms.common.exception.NoticeException;
import com.ms.p2p.entity.account.BankCardImg;
import com.ms.p2p.entity.account.BankCardImgLog;

import java.util.List;
import java.util.Map;

/**
 * Created by chensk on 2018/3/22.
 */
public interface UnBindProvider {
    public BankCardImgLog findByUserIdAndBankId(Integer user_id, Integer Bank_id, Integer status);

    void insert(BankCardImgLog log, List<BankCardImg> list) throws  NoticeException;

    List<Map<String,Object>> unbindList();

    BankCardImgLog findById(Integer id);

    void update(BankCardImgLog bankCardImgLog);
}
